package cn.eng.org.mapper;

import cn.eng.basic.mapper.BaseMapper;
import cn.eng.org.domain.Employee;
import cn.eng.system.domain.Menu;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {

    void addRole(Employee employee);

    void delEmployeeRoleByEmployeeId(Long id);

    List<String> getPermissionsByLogininfoId(Long logininfoId);

    List<Menu> getMenusByLogininfoId(Long logininfoId);


    Employee loadByLogininfoId(Long id);

    List<Employee> loadByShopId(Long shopId);
}
